<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
<link type="text/css" href="/${initParam.context_root }/etc/css/jquery-ui.min.css" rel="stylesheet">
<script type="text/javascript" src="/${initParam.context_root }/etc/js/jquery.js"></script>
<script type="text/javascript" src="/${initParam.context_root }/etc/js/jquery-ui.min.js"></script>
<link type="text/css"	href="/${initParam.context_root }/etc/css/bootstrap.min.css" rel="stylesheet">
<script type="text/javascript"	src="/${initParam.context_root }/etc/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/${initParam.context_root}/script/searchIdform_check.js"></script>
</head>
<body>
<br><br><br><br>
<c:forEach items="${requestScope.list }" var="customerList">
		<c:if test="${customerList.phone == requestScope.customer.phone }">
			<c:if test="${customerList.birth == requestScope.customer.birth }">
				<c:if test="${customerList.name == requestScope.customer.name }">
					<h3 align="center"> 회원님의 ID는 </h3>
					<h2 style="color: blue; font-weight: bold;" align="center">${customerList.custId }</h2> 
					<h3 align="center">입니다.</h3>
				</c:if>	
			</c:if>
		</c:if>		
</c:forEach>
<br>
<form action="/${initParam.context_root }/customer/searchId.do" method="post" style="height: 430px;" onsubmit="return formCheck(this);">
	<div style="float: left;">
		<table id="login_table" style="margin-left: 280px;">
			<tr>
				<td>
					<table>
						<tr>
							<td width="100" align="left"><label>NAME</label></td>
							<td><input type="text" class="form-control" id="name" placeholder="이름을 입력하세요." name="name" /></td>
						</tr>
						<tr>
							<td align="left"><label>BIRTH</label></td>
							<td><input type="text" class="form-control" id="birth" placeholder="생년월일를 입력하세요." name="birth" /></td>
						</tr>
						<tr>
							<td align="left"><label>PHONE</label></td>
							<td><input type="text" class="form-control" id="phone" placeholder="'-' 제외하고 입력하세요" name="phone" /></td>
						</tr>
						<tr style="height: 50px" class="loginBtn">
							<td colspan="2" align="right" style="border-bottom: 2px solid gray;">
								<button type="submit" class="btn btn-info btn-sm">찾 기</button>
							</td>
						</tr>
						<tr style="height: 40px">
							<td colspan="2" align="right"><strong>아이디를 잊어버리셨나요?</strong></td>
						</tr>
					</table>
				</td>
				<td width="50px"></td>
				<td>
					<div style="float: right">
					
					</div>
				</td>
			</tr>
		</table>
	</div>
</form>
</body>
</html>